﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace CollabXT.Generator
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            MainForm mainForm = new MainForm();
#if (INTEGRATION)
            mainForm.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            mainForm.quitToolStripMenuItem,
            mainForm.integrateToolStripMenuItem});

            mainForm.tabMain.Controls.Add(mainForm.tabIntegration);
            mainForm.tabGenerator.Controls.Add(mainForm.checkIntegration);
#else
            mainForm.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            mainForm.quitToolStripMenuItem});
#endif
            Application.Run(mainForm);
        }
    }
}